package com.molichuxing.services.business.dto.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import com.molichuxing.services.property.OrderTradeFlowStatusEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 订单交易流程dto
 *
 * @author zoumingyu
 * @date 2019年8月15日
 */
@Data
public class OrderTradeFlowBizDto extends ResponseRootDto {
    private static final long serialVersionUID = 4283781156511260259L;

    /**
     * 订单交易流程状态
     */
    private OrderTradeFlowStatusEnum orderTradeFlowStatus;

    /**
     * 订单交易流程名
     */
    private Enum orderStatus;

    /**
     * 订单交易流程名
     */
    private String tradeFlowName;

    /**
     * 执行时间
     */
    private LocalDateTime executionTime;

    public OrderTradeFlowBizDto() {
    }

    public OrderTradeFlowBizDto(OrderTradeFlowStatusEnum orderTradeFlowStatus, String tradeFlowName) {
        this.orderTradeFlowStatus = orderTradeFlowStatus;
        this.tradeFlowName = tradeFlowName;
    }

    public OrderTradeFlowBizDto(OrderTradeFlowStatusEnum orderTradeFlowStatus, Enum orderStatus, String tradeFlowName) {
        this.orderTradeFlowStatus = orderTradeFlowStatus;
        this.orderStatus = orderStatus;
        this.tradeFlowName = tradeFlowName;
    }

    public OrderTradeFlowBizDto(OrderTradeFlowStatusEnum orderTradeFlowStatus,
                                Enum orderStatus, String tradeFlowName, LocalDateTime executionTime) {
        this.orderTradeFlowStatus = orderTradeFlowStatus;
        this.orderStatus = orderStatus;
        this.tradeFlowName = tradeFlowName;
        this.executionTime = executionTime;
    }

}
